package com.toutou.kotlin.viewholder

import android.view.ViewGroup
import com.toutou.base.adapter.viewholder.BaseNormalViewHolder
import com.toutou.base.util.ActivitiesManager
import com.toutou.kotlin.R
import com.toutou.base.been.ChatModule
import com.toutou.kotlin.databinding.ViewholderChatItemBinding

class ChatItemViewHolder(parent: ViewGroup) : BaseNormalViewHolder<ChatModule, ViewholderChatItemBinding>(ActivitiesManager.topActivity(), R.layout.viewholder_chat_item, parent) {
    override fun bindData(data: ChatModule) {
        mBinding.data = data
    }
}